﻿using ConsoleApp1.Entity;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
   public class DbInit:DropCreateDatabaseAlways<AdminDB>
    {
        protected override void Seed(AdminDB DbContext)
        {
          // var user=new Users
          // {            
          //      UserName = "aaa",
          //      Pwd = "12345",
          //      IsActived = true,
          //      IsDeleted = false,
          //      CreatedTime = DateTime.Now,
          //      UpdateTime=DateTime.Now,
          //      Remarks="hhhh"
          //  } ;

          //  DbContext.Users.Add(user);
          //DbContext.SaveChanges();
          //  base.Seed(DbContext);

        }
    }
}
